﻿using Abp.Modules;
using Abp.Prism;
using System.Reflection;

namespace SNX.TestTool
{
    [DependsOn(typeof(AbpPrismWpfModule))]
    public class SNXTestToolModule : AbpModule
    {
        public override void PreInitialize()
        {
            // Disabling Job Execution
            Configuration.BackgroundJobs.IsJobExecutionEnabled = false;
        }

        public override void Initialize()
        {
            IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
        }
    }
}
